package cn.com.dcsgo.mapper;

import cn.com.dcsgo.domain.LoginSysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * LoginSysUserMapper
 *
 * @author Dcsgo
 * @since 2025/9/17 10:26
 */
@Mapper
public interface LoginSysUserMapper extends BaseMapper<LoginSysUser> {

    /**
     * 根据用户ID查询权限
     *
     * @param userId 用户ID
     * @return 权限集合
     */
    Set<String> selectPermsByUserId(@Param("userId") Long userId);
}
